package com.thexu.sqlSession;

import java.util.List;

public interface SqlSession {
    //查询所有
    public <E> List<E> selectList(String statementId,Object... params ) throws Exception;

    public <T> T selectOne(String statementId,Object... params ) throws Exception;

    //获取代理对象
    public <T> T getMapper(Class<?> mapperClass);
}
